Fix Model Collection error in PHP5.3