Unlink prev in pagination if page would be less than first