Fixed small bug where options.before is set as undefined rather than null