Fixed issues with except_first and except_last