fixed return for getHorse in SQLitehandler