added filter_nones function to Homodict