Apply patch CLJ-1315

see http://dev.clojure.org/jira/browse/CLJ-1315