Fixed minor bug (returning nil from a BOOL method) that caused compile failures in Xcode 6