I managed to take it to a gunsmith and he said it was due to an improperly fit magazine causing the bolt head to lift up.