Fixed an issue with NULL CRS.

Author: groldan