Fixes bug with closing folder.
Fixes bug with closing folder.

iiet/iiet-git,stoplightio/gitlabhq,dreampet/gitlab,iiet/iiet-git,mmkassem/gitlabhq,jirutka/gitlabhq,axilleas/gitlabhq,mmkassem/gitlabhq,mmkassem/gitlabhq,stoplightio/gitlabhq,axilleas/gitlabhq,t-zuehlsdorff/gitlabhq,jirutka/gitlabhq,stoplightio/gitlabhq,t-zuehlsdorff/gitlabhq,t-zuehlsdorff/gitlabhq,jirutka/gitlabhq,stoplightio/gitlabhq,dreampet/gitlab,t-zuehlsdorff/gitlabhq,iiet/iiet-git,axilleas/gitlabhq,mmkassem/gitlabhq,axilleas/gitlabhq,dreampet/gitlab,dreampet/gitlab,jirutka/gitlabhq,iiet/iiet-git