Replace early return

This lead to the lastPost variable not being updated.