Fix #292 - Added extra checks to avoid misinterpretation of sw and sw corners.
Fix #292 - Changed defensive extra fix to avoid problems with IDL and negative longitudes.
Merge pull request #293 from vreixo/issue292

Fix #292 - Added checks to avoid misinterpretation of ne and sw corners.