added support for get_gaps without questiontype parameter