Fix exception for FirstOrCreate when search condition is nil
Fix tests with go v1.3