Fixed typos and added Data.Maybe so that filter compiles...