I know this is over 3 years old but this fixed my problem. You're a legend, thank you!