Fixed another problem causing travis to fail on postgres