Fixed bug in medication adding.